﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.BasicData.Domain.TSH
{
    /// <summary>
    /// 在线箱子
    /// </summary>
    [Table("OnlineBoxes")]
    public class OnlineBoxes 
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [MaxLength(30, ErrorMessage = "创建人长度不能超过30字符")]
        public string? Creator { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModifyTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        [MaxLength(30, ErrorMessage = "修改人长度不能超过30字符")]
        public string? Modifier { get; set; }


        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 箱号
        /// </summary>
        public string BoxNumber { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public double Weight { get; set; }
        /// <summary>
        /// 长
        /// </summary>
        public double Length { get; set; }
        /// <summary>
        /// 宽
        /// </summary>
        public double Width { get; set; }
        /// <summary>
        /// 高
        /// </summary>
        public double Height { get; set; }
        // <summary>
        /// 状态
        /// </summary>
        public bool States { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 删除标志(true:     false:   )
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
